/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package demo902;

/**
 *
 * @author Administrator
 */
import java.util.*;

public class MainAMethod {
    public static int sign(int a){
//        if (a == 0) {
//           return 0;
//        } else if (a > 0) {
//            return 1;
//        } else {
//            return -1;
//        }
        int b;
        if (a == 0) {
           b=0;
        } else if (a > 0) {
            b= 1;
        } else {
            b=-1;
        }
        return b;
    }

    public static void main(String[] args) {
        int a;
        Scanner reader = new Scanner(System.in);
        a = reader.nextInt();
        System.out.println(sign(a));

       

    }
}
